package com.itmeng.sh.service;

import com.itmeng.sh.dao.UserMapper;
import com.itmeng.sh.pojo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserService {

    @Autowired
    UserMapper userMapper;
    public List<User>  app(){

        return userMapper.all();
    }
}
